package woaini.fenger.core.bot.base;

import woaini.fenger.core.bot.event.BaseEvent;

/**
 * IBot接收器 默认处理消息的 就是发送到消息总线 由消息总线处理
 *
 * @see IBotReceiver
 * @author yefeng {@code @Date} 2023-05-16 16:50:39
 */
public interface IBotReceiver {

  /**
   * @MethodName receive
   *
   * @param message 讯息
   * @author yefeng {@date 2024-01-18 15:14:34}
   * @since 1.0
   *     <p>接收
   */
  void receive(BaseEvent message);
}
